package org.example.utils;

import javafx.scene.control.Alert;

/**
 * @author wwy
 * @date 2020-11-28 15:58
 */
public class AlertUtils {
    public static void sendAlert(String title,String headerText,String contentText){
        Alert alert = new Alert(Alert.AlertType.WARNING);
        alert.setTitle(title);
        alert.setHeaderText(headerText);
        alert.setContentText(contentText);
        alert.showAndWait();
    }
}
